package com.bjb.vr.common.dto;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 
 * @TableName opt_feature_config
 */
@TableName(value ="opt_feature_config")
@Data
public class OptFeatureConfig extends BaseModel implements Serializable {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 资源ID
     */
    @TableField(value = "res_id")
    private Long resId;

    /**
     * 资源名称
     */
    @TableField(value = "res_name")
    private String resName;

    /**
     * 资源标题图
     */
    @TableField(value = "res_image")
    private String resImage;

    /**
     * 资源版本类型
     */
    @TableField(value = "theme_name", updateStrategy = FieldStrategy.IGNORED)
    private String themeName;

    /**
     * 学段
     */
    @TableField(value = "period", updateStrategy = FieldStrategy.IGNORED)
    private String period;

    /**
     * 年级
     */
    @TableField(value = "level", updateStrategy = FieldStrategy.IGNORED)
    private String level;

    /**
     * 学科
     */
    @TableField(value = "subject", updateStrategy = FieldStrategy.IGNORED)
    private String subject;

    /**
     * 课程分类
     */
    @TableField(value = "class_classify", updateStrategy = FieldStrategy.IGNORED)
    private String classClassify;

    /**
     * 排序
     */
    @TableField(value = "order_num")
    private Integer orderNum;

    /**
     * 资源状态（1显示 0隐藏）
     */
    @TableField(value = "visible")
    private Integer visible;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create",fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified")
    private LocalDateTime gmtModified;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}